<template>
	<view class="content">		
		<web-view :webview-styles="webviewStyles" :src="'http://jialianxin.cn/api/channel/M1/index.html?token='+token+'&get_money_card_id='+get_money_card_id+'&out_money_card_id='+out_money_card_id+'&user_id='+user_id+'&money='+money"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				problem_id: '',
				problem_title: '',
				answer: [],
				token: "",
				get_money_card_id:null,
				out_money_card_id:null,
				user_id:null,
				money:0,
				webviewStyles: {
				                    progress: {
				                        color: '#FF3333'
				                    }
				                }
			}
		},
		onLoad(options) {
			this.problem_id = options.id;
			this.problem_title = options.title;
			this.token = options.token;
			let h5Data = uni.getStorageSync("h5Data");
			this.get_money_card_id = options.get_money_card_id;
			this.out_money_card_id = options.out_money_card_id;
			this.money = options.money;
			this.user_id = uni.getStorageSync("userInfo").id;
			//this.Unfold_data.externalLinks('http://xinbei.51ggzs.cn/api/channel/M1/index.html?token='+this.token+'&get_money_card_id='+this.get_money_card_id+'&out_money_card_id='+this.out_money_card_id+'&user_id='+this.user_id+'&money='+this.money);
		},
		methods: {
			// 返回上一页
			returnPage() {
				uni.navigateBack({
					delta: 1
				})
			}
			
		}
	}
</script>

<style lang="scss">

</style>
